<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
    <head>
        <title>登录</title>
    </head>
    <body>
        <div>
            <form action="${pageContext.request.contextPath}/login">
                <div>用户名:<input type="text" name="username" placeholder="Username"></div>
                <div>密码:<input type="password" name="password" placeholder="Password"></div>
                <div>爱好 :
                    <input type="checkbox" name="hobbys" value="上网">上网
                    <input type="checkbox" name="hobbys" value="代码">代码
                    <input type="checkbox" name="hobbys" value="唱歌">唱歌
                    <input type="checkbox" name="hobbys" value="冲浪">冲浪
                </div>
                <input type="submit">
            </form>
        </div>
    </body>
</html>
